class ChangeCampaignsFixLinks < ActiveRecord::Migration
  def self.up
    
    #publish user stream messages
    remove_column :campaigns, :publish_wall_action_link1_text
    remove_column :campaigns, :publish_wall_action_link1_url
    remove_column :campaigns, :publish_wall_action_link2_text
    remove_column :campaigns, :publish_wall_action_link2_url
    remove_column :campaigns, :publish_wall_action_link3_text
    remove_column :campaigns, :publish_wall_action_link3_url
    remove_column :campaigns, :publish_wall_action_link4_text
    remove_column :campaigns, :publish_wall_action_link4_url
    remove_column :campaigns, :publish_wall_action_link5_text
    remove_column :campaigns, :publish_wall_action_link5_url
 
    add_column :campaigns, :publish_wall_join_now_link_text, :string
  end
  
  def self.down
    remove_column :campaigns, :publish_wall_join_now_link_text
  end
end
